<%@ taglib prefix="s" uri="/struts-tags"%>
<p>Marques  enregistrées</p>
<s:if test="brands.size > 0">
	<table >
		<s:iterator value="brands">
			<tr id="row_<s:property value="id"/>">
				<td width="100px">
					<s:property value="name" />
				</td>
				<td width="100px">
					<s:property value="country" />
				</td>
				<td width="50px">
					<s:url id="removeUrl" action="remove">
						<s:param name="id" value="id" />
					</s:url>
					<s:a href="%{removeUrl}" theme="ajax" targets="brands">Supprimer</s:a>
					</td>
					<td width="50px">
					<s:a id="a_%{id}" theme="ajax" notifyTopics="/edit">Modifier</s:a>
				</td>
			</tr>
		</s:iterator>
	</table>
</s:if>

